package com.bwie.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: 秋晚
 * @Date:  2025/7/7 20:27
 * @Description: 
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_cover")
public class Cover {
    /**
     * 封面ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 报修Id
     */
    @TableField(value = "repairs_id")
    private Long repairsId;

    /**
     * 图片路径
     */
    @TableField(value = "url")
    private String url;
}